package com.ruoyi.tcp.enums;

public enum DeviceStatusEnum {
    ONLINE(1L, "在线"),
    OFFLINE(0L, "离线");

    private final Long code;
    private final String desc;

    DeviceStatusEnum(Long code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Long getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
